Skip to content

Instantly share code, notes, and snippets.

// Source: https://github.com/nodejs/node/blob/master/lib/child_process.js
// Defines spawn_sync and normalizeSpawnArguments (without error handling). These are internal variables.
spawn_sync = process.binding('spawn_sync'); normalizeSpawnArguments = function(c,b,a){if(Array.isArray(b)?b=b.slice(0):(a=b,b=[]),a===undefined&&(a={}),a=Object.assign({},a),a.shell){const g=[c].concat(b).join(' ');typeof a.shell==='string'?c=a.shell:c='/bin/sh',b=['-c',g];}typeof a.argv0==='string'?b.unshift(a.argv0):b.unshift(c);var d=a.env||process.env;var e=[];for(var f in d)e.push(f+'='+d[f]);return{file:c,args:b,options:a,envPairs:e};}
// Defines spawnSync, the function that will do the actual spawning
spawnSync = function(){var d=normalizeSpawnArguments.apply(null,arguments);var a=d.options;var c;if(a.file=d.file,a.args=d.args,a.envPairs=d.envPairs,a.stdio=[{type:'pipe',readable:!0,writable:!1},{type:'pipe',readable:!1,writable:!0},{type:'pipe',readable:!1,writable:!0}],a.input){var g=a.stdio[0]=util._extend({},a.stdio[0])
@abir-taheer
abir-taheer / block-insta-celebs.js
Last active May 12, 2024 04:55
Block celebrities who have been silent or supportive of the genocide in Palestine. No modification necessary, just paste into console and run. Why: https://www.instagram.com/reel/C61oqa_r9-q/
if (window.location.origin !== "https://www.instagram.com") {
window.alert(
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.",
);
window.location.href = "https://www.instagram.com";
console.clear();
}
const usernames = [
"ahlamalshamsi",
@PowderLinux
PowderLinux / WiFi_Auditing_Tutorial.txt
Last active May 12, 2024 04:46
WiFi Auditing on Kali Linux using Aircrack
WiFi Auditing on Kali Linux using Aircrack -
Check WiFi Adapter’s Supported Interface Modes -
Open Terminal >
iw list (locate "Supported interface modes:", look for "* monitor")
exit
@macostag
macostag / powershell-basics.ps1
Last active May 12, 2024 04:39
Windows powershell basics notes
#Powershell basics:
#Displays help information.
Get-Help *event*
Get-Help Get-EventLog
Get-Help Get-EventLog -Online
#Update help.
Update-Help
#Gets all commands that are installed on the computer, including cmdlets, aliases, functions, workflows, filters, scripts, and applications.
@jcmkk3
jcmkk3 / alpha23332.md
Last active May 12, 2024 04:39
23332 Key Alpha Layouts

hands down neu23332

w c l d _   _ u o y '
r s n t p   k a e i h
_ f m g b   j x , . _

hands down neu23332-hindex

w c l d _   _ y o u '
@davfre
davfre / git_cheat-sheet.md
Last active May 12, 2024 04:37
git commandline cheat-sheet
@Moat3zKadd3chy
Moat3zKadd3chy / Shell Finder
Last active May 12, 2024 04:37
Shell Finder By Kadd3chy
#!/usr/bin/perl
#Coded By Kadd3chy
system('cls');
system('title Shell Finder');
{
print " Shell Finder \n";
use HTTP::Request;
use LWP::UserAgent;
@mwallner
mwallner / Install-SCCMUpdates.ps1
Last active May 12, 2024 04:35
install all available updates via SCCM
<#
.SYNOPSIS
Install all updates available via SCCM and WAIT for the installation to finish.
.PARAMETER Computer
the computer to install updates on
.OUTPUTS
a object containing information about the installed updates and the reboot state (if a reboot is required or not)
@mrmartineau
mrmartineau / stimulus.md
Last active May 12, 2024 04:35
Stimulus cheatsheet

Linux based Python enviroment for Windows systems using WSL

The following document will guide you through to install WSL, Ubuntu distro, python,pyenv and poetry

Install WSL and Linux Distro for Windows Machine

If you are using Linux based system skip these steps for installing wsl & Ubuntu

  1. First you need to Make sure your Windows version is at least Windows 10, version 2004. You can check your Windows version by going to Settings > System > About.